package me.felix.system.biz.converter;

import me.felix.system.biz.dto.UserDTO;
import me.felix.system.integration.po.UserPO;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author felix
 * @date 2022/1/8/0008
 */
@Mapper
public interface UserConverter {
    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);
    UserDTO converterToUserDTO(UserPO userPO);
    List<UserDTO> converterToUserDTOList(List<UserPO> list);
}
